<%= simple_form_for [:admin, @wifi_account], :defaults => { :input_html => { :class => "form-control" } }, remote: true, html: {class: 'form-horizontal' } do |f| %>
	<fieldset>
		<legend><%= title %></legend>
    <%= f.input :branch, collection:[['联通', 'liantong'], ['电信', 'dianxin'], ['移动', 'yidong']], selected: @wifi_account.branch, label: '运营商' %>
	  <%= f.input :username, label: '账号'  %>
    <%= f.input :password, label: '密码'  %>
	  <%= f.button :wrapped, value: '提 交' %>
	</fieldset>
<% end %>
<%= javascript_include_tag "prevent_label.js" %>
